-
Home
-
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
-
5.3.0
-
Code
-
Classes
- ApiController
| Total Complexity |
124 |
| Dependencies |
5 |
| Dependents |
3 |
| Total lines |
711 |
| Lines of code |
493 |
| Logical lines of code |
275 |
| Comment lines |
83 |
| Methods |
16 |
| Properties |
5 |
Methods 16
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| handleResponse() |
D |
22 |
54 |
174 |
| processMediaItem() |
B |
40 |
19 |
53 |
| handleNewSuccess() |
B |
37 |
15 |
83 |
| getRequest() |
A |
41 |
8 |
55 |
| doRequest() |
A |
46 |
8 |
36 |
| dumpMediaItem() |
S |
55 |
4 |
18 |
| checkFileSizeMargin() |
S |
62 |
4 |
11 |
| returnSuccess() |
S |
62 |
3 |
12 |
| getInstance() |
S |
73 |
2 |
5 |
| __construct() |
S |
71 |
1 |
5 |
| encodeURL() |
S |
69 |
1 |
6 |
| parseResponse() |
S |
73 |
1 |
5 |
| getResultObject() |
S |
67 |
1 |
8 |
| returnFailure() |
S |
67 |
1 |
8 |
| returnRetry() |
S |
69 |
1 |
7 |
| returnOK() |
S |
69 |
1 |
7 |